import Vue from 'vue';
import Router from 'vue-router';
// import Default from '@/components/Default';
import Home from '@/views/Home';
import Rank from '@/views/Rank';
// import Rules from '@/views/Rules';
// import PublicList from '@/views/PublicList';
// import Book from '@/views/Book';
// import Test from '@/views/Test';

Vue.use(Router);

export default new Router({
  // mode: 'hash',
  mode: 'history',
  routes: [
    // {
    //   path: '/default',
    //   name: 'Default',
    //   component: Default
    // },
    // {
    //   path: '/rules',
    //   name: 'Rules',
    //   component: Rules
    // },
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/rank',
      name: 'Rank',
      component: Rank
    }
    // {
    //   path: '/book',
    //   name: 'Book',
    //   component: Book
    // },
    // {
    //   path: '/test',
    //   name: 'Test',
    //   component: Test
    // }
  ]
})
